<style>
	/* sub-popmenus*/
	.popmenu ul {
		padding: 0px;
		margin: 0px;
		display: block;
		display: inline;
	}
	.popmenu ul {
		position: absolute;
		background-color: #172322;
		color: #0395CC;
	}
	.popmenu ul {
		display: block;
	}
	.popmenu ul li {
		display: block;
		margin: 5px 2px;
		padding: 5px 0px;
		cursor: pointer;
		border-top: dotted 1px #606060;
		list-style-type: none;
	}
	.popmenu ul li:first-child {
		border-top: none;
	}
	.popmenu ul li a {
		display: block;
		color: #0395CC;
	}
	.popmenu ul li a:hover {
		color: #7FCDFE;
	}


</style>
<script>
	$(function() {

		$(".dockitem").fancybox();
	});

</script>
<link rel="stylesheet" type="text/css" href="<?php echo Yii::app() -> request -> baseUrl;?>/css/colorpicker2/farbtastic.css" />
	<div class="popmenu" >
		<ul class="housemenu">
			
			<li id="goodsName"class='goodsName'>
				<?php echo $hostInfo -> name;?>
			</li>
			<li id="description" class='description'>
				<?php echo $hostInfo -> description;?>
			</li>
		</ul>
		<ul class="opmenu">
			<li id="leftRotate"class='tool'>
				左旋
			</li>
			<li id="rightRotate" class='tool'>
				右旋
			</li>
			<li  id="move" class='tool'>
				移动
			</li>
			<li  id="remove" class='tool'>
				删除
			</li>
			<li id="goodsName"class='goodsName'></li>
			<li id="description" class='description'></li>
		</ul>
		<ul class="wallmenu">
			<!--
			循环goodstype获得各类家具的类型。
			-->
			<li id="furniture"class='tool'>
				<?php echo CHtml::link('灯具',array('webgl/facility/','gTypeId'=>"08",'dependId'=>"02",'pageNo'=>1),array('class'=>"dockitem"))
				?>
			</li>
			<li id="furniture"class='tool'>
				<?php echo CHtml::link('电器',array('webgl/facility/','gTypeId'=>"07",'dependId'=>"02",'pageNo'=>1),array('class'=>"dockitem"))
				?>
			</li>
			<li id="furniture"class='tool'>
				<?php echo CHtml::link('空调',array('webgl/facility/','gTypeId'=>"07",'dependId'=>"02",'pageNo'=>1),array('class'=>"dockitem"))
				?>
			</li>
			<li id="wallpaper"class='tool'>
				<?php echo CHtml::link('墙纸',array('webgl/facility/','gTypeId'=>"09",'dependId'=>"02",'pageNo'=>1),array('class'=>"dockitem"))
				?>
			</li>
			<li id="wallcolor" class='tool'>
				<form action="" >
					<div class="form-item">
						<label id='color1' for="color">粉刷</label>
						<input type="text" id="color" name="color" value="#123456" />
					</div>
					<div id="picker"></div>
				</form>
			</li>
			<li id="goodsName"class='goodsName'>
				<?php echo $hostInfo -> name;?>
			</li>
			<li id="description" class='description'>
				<?php echo $hostInfo -> description;?>
			</li>
		</ul>
	</div>